package cate.game.activity.newherotrial.msg;

import cate.game.activity.newherotrial.data.HeroTrialLevel;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBHeroTrial;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "关卡数据 の 更新")
public class HeroTrialLevelResp implements MsgOutput {

    @NoteField("功能id")
    public int funcId;

    @NoteField("关卡id")
    public int levelTid;

    @NoteField(value = "单个关卡数据")
    public HeroTrialLevel level;

    public HeroTrialLevelResp() {

    }

    public HeroTrialLevelResp(int funcId, int levelTid, HeroTrialLevel level) {
        this.funcId = funcId;
        this.levelTid = levelTid;
        this.level = level;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBHeroTrial.LEVEL_UPDATE;
    }
}
